#ifndef __FREELISTBLOCK_H__
#define	__FREELISTBLOCK_H__

#include "block.h"
#include "types.h"



#define FREELISTBLOCK_SIZE 128

struct freelist_block_t
{
    unsigned char dataBlockListSize[UINT];
    unsigned char dataBlockAddressList[FREELISTBLOCK_SIZE][UINT];
};




class FreeListBlock : public Block
{
	private:
		freelist_block_t * freeListBlock;
	public:
		FreeListBlock(FILE*, unsigned long);
		virtual ~FreeListBlock();

		ulong getDataBlockListSize();
		ulong * getFreeListBlockAddresses();

		virtual void print();
};


#endif

